#include "King.h"
#include "Queen.h"
#include "Knight.h"
#include "Troll.h"
#include "BowAndArrowBehavior.h"

#include <iostream>

void testKing(){
	King king;
	king.display();
	king.fight();
	king.setWeapon(new BowAndArrowBehavior());
	king.fight();
}

void testQueen(){
	Queen queen;
	queen.display();
	queen.fight();
}

void testKnight(){
	Knight knight;
	knight.display();
	knight.fight();
}

void testTroll(){
	Troll troll;
	troll.display();
	troll.fight();
}

int main(int argc, char **argv){
	testKing();
    testQueen();
	testKnight();
	testTroll();

	getchar();
	return 0;
}